package com.kingdee.eas.custom.material;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class MaterialTypeTreeFactory
{
    private MaterialTypeTreeFactory()
    {
    }
    public static com.kingdee.eas.custom.material.IMaterialTypeTree getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.custom.material.IMaterialTypeTree)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("15E6F1FB") ,com.kingdee.eas.custom.material.IMaterialTypeTree.class);
    }
    
    public static com.kingdee.eas.custom.material.IMaterialTypeTree getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.custom.material.IMaterialTypeTree)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("15E6F1FB") ,com.kingdee.eas.custom.material.IMaterialTypeTree.class, objectCtx);
    }
    public static com.kingdee.eas.custom.material.IMaterialTypeTree getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.custom.material.IMaterialTypeTree)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("15E6F1FB"));
    }
    public static com.kingdee.eas.custom.material.IMaterialTypeTree getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.custom.material.IMaterialTypeTree)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("15E6F1FB"));
    }
}